package com.lobstar.xrpc.server.threads;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.lobstar.xrpc.client.main.MainClient;
import com.lobstar.xrpc.common.po.SMessage;
import com.lobstar.xrpc.common.po.Task;
import com.lobstar.xrpc.server.handler.task.Tasks;

public class ResponseHandleThread extends Thread{
private static Logger LOGGER = LoggerFactory.getLogger(ResponseHandleThread.class);

	@Override
	public void run() {
		while(true) {
			try {
//				Task task = Tasks.getResponse();
//				//根据taskid取到本地task
//				task.getCallback().callback(task);
			}catch(Exception e) {
				LOGGER.error("请求队列错误",e);
			}
		}
	}
}
